package com.intellagric.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class AgtAgritech implements Serializable {
    private String id;

    private String resourceId;

    private String speciesId;

    private String agritechTitle;

    private String agritechAbstract;

    private String agritechContent;

    private String agritechVideo;

    private String agritechCover;

    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GM+8")
    private Date updatedTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GM+8")
    private Date createdTime;

    private String delFlag;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId == null ? null : resourceId.trim();
    }

    public String getSpeciesId() {
        return speciesId;
    }

    public void setSpeciesId(String speciesId) {
        this.speciesId = speciesId == null ? null : speciesId.trim();
    }

    public String getAgritechTitle() {
        return agritechTitle;
    }

    public void setAgritechTitle(String agritechTitle) {
        this.agritechTitle = agritechTitle == null ? null : agritechTitle.trim();
    }

    public String getAgritechAbstract() {
        return agritechAbstract;
    }

    public void setAgritechAbstract(String agritechAbstract) {
        this.agritechAbstract = agritechAbstract == null ? null : agritechAbstract.trim();
    }

    public String getAgritechContent() {
        return agritechContent;
    }

    public void setAgritechContent(String agritechContent) {
        this.agritechContent = agritechContent == null ? null : agritechContent.trim();
    }

    public String getAgritechVideo() {
        return agritechVideo;
    }

    public void setAgritechVideo(String agritechVideo) {
        this.agritechVideo = agritechVideo == null ? null : agritechVideo.trim();
    }

    public String getAgritechCover() {
        return agritechCover;
    }

    public void setAgritechCover(String agritechCover) {
        this.agritechCover = agritechCover == null ? null : agritechCover.trim();
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }
}